<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <title>Title</title>
</head>
<body>
<form action="{{ url_for('update_action',id=api.id)}}" method = "post"  class="navbar-form navbar-left">
     <div class="form-group">
    <dl>
        <dt>Name:
        <dd><input type="text" size="30" name="name" value="{{api.name}}">
        <dt>Api:
         <dd><input type="text" size="30" name="api" value="{{api.api}}">
        <dt>Json:
        <dd><textarea name="json" rows="50" cols="100" >{{api.json}} </textarea>
        </dd>
        </dl>
         </div>
        <dd><input type="submit" value="确定">

    </dd>
        </dl>
</form>
</body>
</html>